package com.onlinevideo.entity;

import java.io.Serializable;

public class Video implements Serializable {

    private Long id;

    private Long userId;

    private Long categoryId;

    private String videoName;

    private String uploadTime;

    private String videoDescription;

    private String videoImg;

    private Integer videoStatus;

    private Integer videoAuthority;

    private Integer playTotalCount;

    private Long collectionCount;

    @Override
    public String toString() {
        return "Video{" +
                "id=" + id +
                ", userId=" + userId +
                ", categoryId=" + categoryId +
                ", videoName='" + videoName + '\'' +
                ", uploadTime='" + uploadTime + '\'' +
                ", videoDescription='" + videoDescription + '\'' +
                ", videoImg='" + videoImg + '\'' +
                ", videoStatus=" + videoStatus +
                ", videoAuthority=" + videoAuthority +
                ", videoValidity=" + playTotalCount +
                ", collectionCount=" + collectionCount +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public String getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(String uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getVideoDescription() {
        return videoDescription;
    }

    public void setVideoDescription(String videoDescription) {
        this.videoDescription = videoDescription;
    }

    public String getVideoImg() {
        return videoImg;
    }

    public void setVideoImg(String videoImg) {
        this.videoImg = videoImg;
    }

    public Integer getVideoStatus() {
        return videoStatus;
    }

    public void setVideoStatus(Integer videoStatus) {
        this.videoStatus = videoStatus;
    }

    public Integer getVideoAuthority() {
        return videoAuthority;
    }

    public void setVideoAuthority(Integer videoAuthority) {
        this.videoAuthority = videoAuthority;
    }

    public Integer getPlayTotalCount() {
        return playTotalCount;
    }

    public void setPlayTotalCount(Integer playTotalCount) {
        this.playTotalCount = playTotalCount;
    }

    public Long getCollectionCount() {
        return collectionCount;
    }

    public void setCollectionCount(Long collectionCount) {
        this.collectionCount = collectionCount;
    }

    public Video() {
    }

    public Video(Long id, Long userId, Long categoryId, String videoName, String uplaodTime, String videoDescription, String videoImg, Integer videoStatus, Integer videoAuthority, Integer playTotalCount, Long collectionCount) {
        this.id = id;
        this.userId = userId;
        this.categoryId = categoryId;
        this.videoName = videoName;
        this.uploadTime = uplaodTime;
        this.videoDescription = videoDescription;
        this.videoImg = videoImg;
        this.videoStatus = videoStatus;
        this.videoAuthority = videoAuthority;
        this.playTotalCount = playTotalCount;
        this.collectionCount = collectionCount;
    }
}
